{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang censor_batch:admin}</h3>{template content/contentcensor-submenu}
	</div>
	<div class="alert alert-info mt10">
		<span class="label label-info">{lang info:admin}</span>
		{lang censor_batch_tip:admin}
	</div>
	<div class="setform">
		<form class="pzform" method="post" action="{url admin/contentcensorbatch?act=add}" id="addform">
			<div class="formgroup">
				<label class="formlabel">{lang censor_type:admin}:</label>
				<div class="formcontrol">
					<select name="type" id="type">
					{loop $censortypes $type}
					<option value="$type['id']">$type['typename']</option>
					{/loop}
					</select>
					
				</div>
				<span class="formhelp">{lang censor_type:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang censor_word:admin}:</label>
				<div class="formcontrol">
					<textarea id="addcensors" name="addcensors" rows="5"></textarea>
				</div>
				<span class="formhelp">{lang censor_word:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang censor_word:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="opt" value="0" checked>{lang censor_batch_op1:admin}</input><br/>
					<input type="radio" name="opt" value="1">{lang censor_batch_op2:admin}</input><br/>
					<input type="radio" name="opt" value="2" >{lang censor_batch_op3:admin}</input><a href="{url admin/contentcensorbatch?act=export}">{lang censor_batch_export:admin}</a>
				</div>
				<span class="formhelp">{lang censor_word:admin}</span>
			</div>
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang add:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}